package com.yjc.drygoods.member.feign;

import com.yjc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author yjc
 * @create 2022-10-12 23:27
 */
@FeignClient("drygoods-ware")
public interface WareFeignService {
    @PostMapping("/ware/warespu/hasstock")
    public R getSpuWare(@RequestBody List<Long> spuIds);
}
